﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Abp.AutoMapper;
using FwProject.Users.Dto;

namespace FwProject.Restaurant.Dto
{
    [AutoMap(typeof(DepositInfo))]
    public class DepositInput
    {
        /// <summary>
        /// 工厂编号
        /// </summary>
        [Display(Name = "所属工厂")]
        public Guid FactoryinfoId { get; set; }

        //public string CreationNumber { get; set; }
        /// <summary>
        /// 押金收退日期
        /// </summary>
        public DateTime DepositTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 餐厅编号
        /// </summary>
        [Display(Name = "餐厅名称")]
        public Guid RestaurantId { get; set; }


        public string RestaurantName { get; set; }

        /// <summary>
        /// 账户编号
        /// </summary>
        [Display(Name = "账户编号")]
        public Guid CapitalAccountId { get; set; }

        /// <summary>
        /// 金额
        /// </summary>
        [Display(Name = "金额")]
        public decimal Money { get; set; } = 0.0m;
        /// <summary>
        /// 经办人编号
        /// </summary>
        [Display(Name = "经办人编号")]
        public long AgentPeoperUserId { get; set; }


        /// <summary>
        /// 备注
        /// </summary>
        [Display(Name = "备注")]
        public string RemarkContent { get; set; }

        public DepositStatus DepositStatus { get; set; } = DepositStatus.未提交;

    }
}
